# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import ValidationError

class Codejob(models.Model):

    _name = 'emp.codejob'
    jobno = fields.Char()
    jobname = fields.Char()
    monup = fields.Integer()
    montop = fields.Integer()
    monvip = fields.Integer()
    statics = fields.Char()
    confval = fields.Char()
    printserial = fields.Char()
    jobkind = fields.Char()
    jobkind2 = fields.Char()
    sal_type = fields.Char()
    ename = fields.Char()
    joblv = fields.Char()
    peojoblist = fields.Many2one(string="自己",comodel_name='code.job') # m 自己
    shojobno = fields.Char()
    shjobname = fields.Char()
    isknow = fields.Boolean()